package com.mpw.cloud.service;

import org.springframework.stereotype.Component;

/**
 * @program:Cloud
 * @author: mpw
 * @Time: 2021/11/2  16:51
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "ok   __hu(_　_)";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "timeout   __hu(_　_)";
    }
}
